public class Test {
    public static void main(String[] args) {
        int[] nums = {5,7,7,8,8,10};
        int target = 8;
        SearchRange s = new SearchRange();
        s.searchRange(nums, target);
    }
}
